﻿@{
    ViewBag.Title = "Cipher Text";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@using (Html.BeginForm("ShowText", null))
{
    <div>
        Message:</div>
    <div>@Html.TextArea("message", new { style = "width: 100%; height: 100px" })</div>
    <div>
        <input name="type" type="submit" value="Encrypt" />
        <input name="type" type="submit" value="Decrypt" />
    </div>
    <script type="text/javascript">
        window.setTimeout(function () {
            var e = document.getElementById('message');
            if (e) e.focus();
        });
    </script>
}
